package com.flyinzhen.customer.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "customer.operation")
public class OperationProperties implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 同设备验证码发送限制 */
	private Integer deviceSmsLimit;

	/** 同手机号验证码发送限制 */
	private Integer mobileSmsLimit;

	/** 同IP验证码发送限制 */
	private Integer ipSmsLimit;
}
